package com.nobug.arrange.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serializable;
import java.math.BigInteger;

/**
 * @Auther: wangweilin
 * @Date: 2021/8/17 15:26
 * @Description:  教师
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode()
@TableName("arr_teacher")
public class TeacherEntity implements Serializable {
    @TableId(
            value = "id",
            type = IdType.AUTO
    )
    //教师ID
    private BigInteger id;
    //教师编号
    @TableField("teacherCode")
    private String teacherCode;
    //教师名称
    @TableField("teacherName")
    private String teacherName;
    //学科代码
    @TableField("subjectCode")
    private String subjectCode;
    //学科名称
    @TableField("subjectName")
    private String subjectName;
}
